﻿using Sasc.PV.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Sasc.PV.DAL
{
    public static class DbMappingHelper
    {
        public static string GetDbFieldName<TModel,TProperty>(Expression<Func<TModel,TProperty>> propertyExpression)
        {
            return ExpressionHelper.GetPropertyName(propertyExpression);
        }
    }
}
